<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>演出属性</title>
		<style>
			/*溢出元素：子元素大于父元素【宽和高】*/
			div{
				width: 400px;
				height: 100px;
				border: 1px solid red;
				/*溢出：找到父元素，加溢出处理属性：方案属性值：
									hidden    溢出隐藏
									scroll    溢出滚动  【页面滚动条：xy轴】
									visiable  默认：正常显示
									auto     自动切换以上状态
				*/
				overflow: hidden;
				overflow: scroll; /*x y 两个方向*/
				overflow: visible;
				overflow: auto;
				/*overflow-x  overflow-y;*/
				overflow: scroll;
			    overflow-y: hidden;
			}
			p{
				width: 800px;
				
			}
		</style>
	</head>
	<body>
		<!-- 外层：div  理解：水杯-->
		<div>
			<!--外层：p  理解：水-->
			<p>
				<img src="img/p_small_001.jpg" alt="1" />
				<img src="img/p_small_002.jpg" alt="2" />
				<img src="img/p_small_003.jpg" alt="3" />
				<img src="img/p_small_004.jpg" alt="4" />
				<img src="img/p_small_005.jpg" alt="5" />
				<img src="img/p_small_006.jpg" alt="6" />
				<img src="img/p_small_007.jpg" alt="7" />
			</p>
		</div>
	</body>
</html>